﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">

<head>
	<title>{$pagetitle}</title>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<meta name="lang" content="{$lang}" />
	<meta name="title" content="{$pagetitle}" />
	<meta name="robots" content="noindex" />
	<link rel="icon" href="{$basepath}favicon.png" type="image/png" />
	<link rel="shortcut icon" href="{$basepath}favicon.png" type="image/png" />
	<link rel="stylesheet" type="text/css" href="{$csspath}main.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="{$csspath}fancybox.css" media="screen" />
	<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="{$jspath}jquery.js"></script>
	<script type="text/javascript" src="{$jspath}functions.js"></script>
	<script type="text/javascript" src="{$jspath}fancybox.pack.js"></script>
	<script type="text/javascript" src="{$jspath}tiny_mce/jquery.tinymce.js"></script>
</head>

<body>

	<div id="global-wrapper">

		<div id="header-wrapper">
			<div id="header">
				<div id="site-title">
					Mundiplus <span>ADMIN</span>
				</div>
				<div id="site-links">
					{if isset($adminLoggedUserName) eq true}
						Estás conectad@ como <strong>{$adminLoggedUserName}</strong> | <a href="{$logoutUrl}">Desconectar</a>
					{/if}
				</div>
			</div>
		</div>

		<div id="main-wrapper">
			<div id="main">

				<div id="menu-wrapper">
					<div id="menu">
						{if count($menuOptions) gt 0}
							<ul>
								{foreach $menuOptions as $menuOption}
									<li>
										<a href="{$menuOption.url}">
											<img align="middle" alt="" src="{$imagespath}menu_icons/{$menuOption.alias}.png">
											<div>{$menuOption.name}</div>
										</a>
									</li>
								{/foreach}
							</ul>
						{/if}
					</div>
				</div>

				<div id="content-wrapper">
					<div id="content-title">
						<div class="inner">
							<input id="currentSection" type="hidden" value="{$sectionName}" />
							<h1>{$sectionTitle}</h1>
						</div>
					</div>
					<div id="content-options">
						<div class="inner">
							{if isset($contentOptions) eq true}
								<ul>
								{foreach $contentOptions as $contentOption}
									<li>
										<a{if isset($contentOption.id) eq true} id="{$contentOption.id}"{/if} href="{$contentOption.link}">
											<img src="{$contentOption.icon}" alt="{$contentOption.text}" /><br />
											{$contentOption.text}
										</a>
									</li>
								{/foreach}
								</ul>
							{else}
								&nbsp;
							{/if}
						</div>
					</div>
					<div id="content">
						<div class="inner">
							<div id="error-box" style="display: {if isset($error)}block{else}none{/if};">{if isset($error)}{$error}{/if}</div>
							<div id="notification-box" style="display: {if isset($notification)}block{else}none{/if};">{if isset($notification)}{$notification}{/if}</div>
